﻿/*********************************************************
 * 开发人员：Tony
 * 创建时间：2012-12-14 8:59:32
 * 描述说明：
 * 
 * 更改历史：
 * 
 * *******************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Beway.ValueAdded.Util
{
    public static class Config
    {

        public static string SiteUrl
        {
            get
            {
                return ConfigurationManager.AppSettings["SiteUrl"].ToString();
            }
        }

        /// <summary>
        /// 建行提供的商户id
        /// </summary>
        public static string MERCHANTID
        {
            get
            {
                return ConfigurationManager.AppSettings["MERCHANTID"].ToString();
            }
        }

        /// <summary>
        /// 建行提供的pos号
        /// </summary>
        public static string POSID
        {
            get
            {
                return ConfigurationManager.AppSettings["POSID"].ToString();
            }
        }

        /// <summary>
        /// 建行提供的分行id
        /// </summary>
        public static string BRANCHID
        {
            get
            {
                return ConfigurationManager.AppSettings["BRANCHID"].ToString();
            }
        }

        /// <summary>
        /// 建行提供的分行id
        /// </summary>
        public static string TXCODE
        {
            get
            {
                return ConfigurationManager.AppSettings["TXCODE"].ToString();
            }
        }

        /// <summary>
        /// 验签公钥
        /// </summary>
        public static string PUBLICKEY
        {
            get
            {
                return ConfigurationManager.AppSettings["PUBLICKEY"].ToString();
            }
        }

        /// <summary>
        /// 欧飞充值平台用户名
        /// </summary>
        public static string ofUserID
        {
            get
            {
                return ConfigurationManager.AppSettings["ofUserID"].ToString();
            }
        }

        /// <summary>
        /// 欧飞充值平台密码
        /// </summary>
        public static string ofPwd
        {
            get
            {
                return ConfigurationManager.AppSettings["ofPwd"].ToString();
            }
        }
    }
}
